package com.woniuxy.woniuticket.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class CinemaOder {

    private String ordernum;   //手动生成的订单编号

    private Integer userInfoId;  //用户个人信息外键

    private Integer scheduleId;   //排片表外键

    private BigDecimal adjustedprice;   //订单总价

    private Date oderdate;

    private Date paydate;

    private Integer oderstatus;

    private Integer ticketstatus;

    private Integer ticketnum;

    private UsersInfo usersInfo;

    private CinemaSchedule cinemaSchedule;

    private Integer flag;

    public UsersInfo getUsersInfo() {
        return usersInfo;
    }

    public void setUsersInfo(UsersInfo usersInfo) {
        this.usersInfo = usersInfo;
    }

    public CinemaSchedule getCinemaSchedule() {
        return cinemaSchedule;
    }

    public void setCinemaSchedule(CinemaSchedule cinemaSchedule) {
        this.cinemaSchedule = cinemaSchedule;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum;
    }

    public Integer getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Integer userInfoId) {
        this.userInfoId = userInfoId;
    }

    public Integer getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Integer scheduleId) {
        this.scheduleId = scheduleId;
    }

    public BigDecimal getAdjustedprice() {
        return adjustedprice;
    }

    public void setAdjustedprice(BigDecimal adjustedprice) {
        this.adjustedprice = adjustedprice;
    }

    public Date getOderdate() {
        return oderdate;
    }

    public void setOderdate(Date oderdate) {
        this.oderdate = oderdate;
    }

    public Date getPaydate() {
        return paydate;
    }

    public void setPaydate(Date paydate) {
        this.paydate = paydate;
    }

    public Integer getOderstatus() {
        return oderstatus;
    }

    public void setOderstatus(Integer oderstatus) {
        this.oderstatus = oderstatus;
    }

    public Integer getTicketstatus() {
        return ticketstatus;
    }

    public void setTicketstatus(Integer ticketstatus) {
        this.ticketstatus = ticketstatus;
    }

    public Integer getTicketnum() {
        return ticketnum;
    }

    public void setTicketnum(Integer ticketnum) {
        this.ticketnum = ticketnum;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "CinemaOder{" +
                "ordernum='" + ordernum + '\'' +
                ", userInfoId=" + userInfoId +
                ", scheduleId=" + scheduleId +
                ", adjustedprice=" + adjustedprice +
                ", oderdate=" + oderdate +
                ", paydate=" + paydate +
                ", oderstatus=" + oderstatus +
                ", ticketstatus=" + ticketstatus +
                ", ticketnum=" + ticketnum +
                ", usersInfo=" + usersInfo +
                ", cinemaSchedule=" + cinemaSchedule +
                ", flag=" + flag +
                '}';
    }
}